package com.sp.scmdb.bean;


public class LabelIOBean extends PageBean {

	private String labelID;
	private String empName;
	private String empID;
	private String depID;
	private String dutyID;
	private String workTypeID;
	private String inTime;
	private String outTime;

	public String getEmpID() {
		return empID;
	}

	public void setEmpID(String empID) {
		this.empID = empID;
	}

	public String getLabelID() {
		return labelID;
	}

	public void setLabelID(String labelID) {
		this.labelID = labelID;
	}

	public String getEmpName() {
		return empName;
	}

	public void setEmpName(String empName) {
		this.empName = empName;
	}

	public String getDepID() {
		return depID;
	}

	public void setDepID(String depID) {
		this.depID = depID;
	}

	public String getDutyID() {
		return dutyID;
	}

	public void setDutyID(String dutyID) {
		this.dutyID = dutyID;
	}

	public String getWorkTypeID() {
		return workTypeID;
	}

	public void setWorkTypeID(String workTypeID) {
		this.workTypeID = workTypeID;
	}

	public String getInTime() {
		return inTime;
	}

	public void setInTime(String inTime) {
		this.inTime = inTime;
	}

	public String getOutTime() {
		return outTime;
	}

	public void setOutTime(String outTime) {
		this.outTime = outTime;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((depID == null) ? 0 : depID.hashCode());
		result = prime * result + ((dutyID == null) ? 0 : dutyID.hashCode());
		result = prime * result + ((empID == null) ? 0 : empID.hashCode());
		result = prime * result + ((empName == null) ? 0 : empName.hashCode());
		result = prime * result + ((inTime == null) ? 0 : inTime.hashCode());
		result = prime * result + ((labelID == null) ? 0 : labelID.hashCode());
		result = prime * result + ((outTime == null) ? 0 : outTime.hashCode());
		result = prime * result + ((workTypeID == null) ? 0 : workTypeID.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		LabelIOBean other = (LabelIOBean) obj;
		if (depID == null) {
			if (other.depID != null)
				return false;
		} else if (!depID.equals(other.depID))
			return false;
		if (dutyID == null) {
			if (other.dutyID != null)
				return false;
		} else if (!dutyID.equals(other.dutyID))
			return false;
		if (empID == null) {
			if (other.empID != null)
				return false;
		} else if (!empID.equals(other.empID))
			return false;
		if (empName == null) {
			if (other.empName != null)
				return false;
		} else if (!empName.equals(other.empName))
			return false;
		if (inTime == null) {
			if (other.inTime != null)
				return false;
		} else if (!inTime.equals(other.inTime))
			return false;
		if (labelID == null) {
			if (other.labelID != null)
				return false;
		} else if (!labelID.equals(other.labelID))
			return false;
		if (outTime == null) {
			if (other.outTime != null)
				return false;
		} else if (!outTime.equals(other.outTime))
			return false;
		if (workTypeID == null) {
			if (other.workTypeID != null)
				return false;
		} else if (!workTypeID.equals(other.workTypeID))
			return false;
		return true;
	}

}
